// PluginAidlInterface.aidl
package com.lyn.pluginhost;

import com.lyn.pluginhost.ResultCallbackAidlInterface;
import com.lyn.pluginhost.GetLogoResultCallbackAidlInterface;

//插件aidl接口
interface PluginAidlInterface {

    //初始化
    void initialize(ResultCallbackAidlInterface resultCallback);
    //加载插件
    void loadPlugin(String path,ResultCallbackAidlInterface resultCallback);
    //加载全部插件
    void loadAllPlugin(ResultCallbackAidlInterface resultCallback);
    //获取全部插件
    void getAllPlugin(ResultCallbackAidlInterface resultCallback);
    //获取插件logo
    void getPluginLogo(String id,String path,GetLogoResultCallbackAidlInterface getLogoResultCallback);
    //删除插件
    void removePlugin(String id,ResultCallbackAidlInterface resultCallback);
    //打开插件
    void openPlugin(String id,ResultCallbackAidlInterface resultCallback);
    //关闭插件
    void closePlugin(String id,ResultCallbackAidlInterface resultCallback);

}